package com.yami.shop.bean.app.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class PersonalAccountOpenParam {
    @Schema(description = "用户编号")
    @NotEmpty(message = "用户编号不能为空")
    private String merUserId;

    @Schema(description = "用户手机号")
    @NotEmpty(message = "用户手机号不能为空")
    private String mobile;

    @Schema(description = "真实姓名")
    @NotEmpty(message = "真实姓名不能为空")
    private String userName;

    @Schema(description = "证件类型")
    @NotEmpty(message = "证件类型不能为空")
    private String certType;

    @Schema(description = "身份证号")
    @NotEmpty(message = "身份证号不能为空")
    private String certNo;
}
